x86: MSI: Mask/unmask msi irq during the window which programs msi.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 21 Oct 2009 07:50:23 +0000 (08:50 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 21 Oct 2009 07:50:23 +0000 (08:50 +0100)
commitd9e4801c022e6a503454e23d8eef3ff90f30ed6f
tree68e9258de91fd50ba3de7854bb14fa96a0fb5104
parent9266eb0ef8f0774fef7d23a1a38d38a4101f6007
x86: MSI: Mask/unmask msi irq during the window which programs msi.

When program msi, it has to mask it first, otherwise, it
may generate inconsistent interrupts. According to spec,
if not masked, the interrupt generation behaviour is undefined.

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
xen/arch/x86/msi.c